package com.hmys.api.mapper;

import com.hmys.api.model.WebJob;
import com.hmys.api.model.WebJobWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebJobMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WebJobWithBLOBs record);

    int insertSelective(WebJobWithBLOBs record);

    WebJobWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WebJobWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(WebJobWithBLOBs record);

    int updateByPrimaryKey(WebJob record);

    List<WebJob> selectByBean(WebJob record);

    int updatePageViewByPrimaryKey(Long id);
}